We pass two scales to setScale(), but only use the first one for
both horizontal and vertical scaling. We'll soon have a use case
for using a different scale for each dimension, so start using
both parameters.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3739
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1696>
return false;
}
- setScale(scale) {
- this._contents.set_scale(scale, scale);
+ setScale(scaleX, scaleY) {
+ this._contents.set_scale(scaleX, scaleY);
}
});